package com.cenntro.common.exception;

public class SequenceException extends Exception{


	private static final long serialVersionUId = 6066837615682222897L;
	/**
	 * 
	 */
	private Integer errorCode;
	private String message;
	
	
	public SequenceException(String message) {
		super(message);
		this.message = message;
	}
	 
	public SequenceException(Integer errorCode, String message) {
		super(message);
		this.errorCode = errorCode;
		this.message = message;
	}
	
	public Integer getErrorCode() {
		return errorCode;
	}
	
	public void setErrorCode(Integer errorCode) {
		this.errorCode = errorCode;
	}
	
	public String getMessage() {
		return message;
	}
	
	public void setMessage(String message) {
		this.message = message;
	}
	
	
	
}
